package tv.shsun;

import org.springframework.beans.factory.annotation.Autowired;


public abstract class AbstractConsumer<T> {

    @Autowired
    protected Remoting2SDK remoting2SDK;

    public AbstractConsumer() {

    }
    
    public String go(T t) {

        System.out.println("AbstractConsumer.go()-start");
        String v = this.doGo(t);
        System.out.println("AbstractConsumer.go()-end");
        return v;
    }

    public abstract String doGo(T t);

}
